<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class users extends Model
{
    use HasFactory;

    public static function UserFind($where){
        return self::where($where)->first();
    }

    public static function UserInsert($data){
        return self::insert($data);
    }

    public static function UserPhone($where,$data){
        return self::where($where)->update($data);
    }
}
